package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.common.enums.SexEnum;
import lombok.Data;

import java.sql.Date;

/**
 * @author lai
 * @data 2021/11/16
 * @apiNote
 */
@TableName("sys_student")
@Data
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private SexEnum sex;
    private Date birth;
    private String username;
    private Integer classId;
    private Date schoolDate;
    private String password;
    private String portrait;
    private Date createTime;
    private Date updateTime;
}
